<%
    response.setHeader("Cache-Control","no-cache");
    response.setHeader("Pragma","no-cache");
    response.setDateHeader("Expires",0);
%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<%@ page language="java" import='java.util.ArrayList'%>
<%@ page language="java" import='java.util.List'%>
<%@ page language="java" import='com.dgac.licencias.to.*'%>
<%@ page language="java" import='com.dgac.licencias.util.*'%>
<%@ page language="java" import='java.text.DecimalFormat'%>

<% 
    String busqueda=request.getParameter("busqueda");
    boolean bus=false;
    if(busqueda!=null)bus=true; 
%>

<html>
    <head><title>LISTADO DE DATOS</title>
    <base target="_self"> 
    <meta http-equiv="Content-Type" content="text/html; charset=unicode">
    <link href="${pageContext.request.contextPath}/css/espacio.css" type="text/css rel=stylesheet">
    <link href="${pageContext.request.contextPath}/css/calendar-system.css" type="text/css rel=stylesheet">
    
    <script language="javascript" src="${pageContext.request.contextPath}/js/calendar.js"></script>
    <script language="javascript" type="text/javascript" src="${pageContext.request.contextPath}/js/js.Farmacia.Function.js"></script>
    <script language="javascript" src="${pageContext.request.contextPath}/js/calendar-es.js"></script>
    <script language="javascript" src="${pageContext.request.contextPath}/js/utils.js"></script>

<script language="javascript">

</script>
</head>
<body>
  
  <form action="BuscarProcesosAction" id="frmBuscar" name="frmBuscar">
      
<table width="100%" align="center" bgcolor="#fffdd6" border="0">
  
   <input type="hidden" name="metodo" value="buscar">  
   <input type="hidden" name="page" value="">  
   <%if(bus){%>
   <input type="hidden" name="busqueda" value="1">    
   <%}%>
  <tbody>
  <tr><td></td></tr>
  <tr><td></td></tr>
  <tr><td></td></tr>
  <tr>
    <td><div class="Titulo1B" align="center">LISTADO DE PROCESOS</div></td>
  </tr>
  <tr>
    <td>
      <table width="98%" align="left">
        <tbody>
        <tr>
          <td>
            <fieldset class="TablaBorde">
                <legend class="TituloAzulClaro">Filtrado  por </legend>
                <table width="500" align="center">
                  <tbody>
                  <tr>
                    <td class="TituloAzulClaro" align="right">Codigo </td>
                    <td><input class="Campo" maxlength="20" name="cliente"></td>
                    <td class="TituloAzulClaro" align="right"></td>
                    <td></td>
                  </tr>
                  </tbody>
                </table>
              </fieldset>
           </td>
          </tr>
        </tbody>
      </table>
  </td>
  </tr>
  <tr>
    <td class="TextoPortal" colspan="2">
      <div align="center"><input class="boton" onclick="Buscar(0);" type="button" value="Buscar" name="Submit22"> 
      <%if(!bus){%>
      <input class="boton" onclick="location.href='licencias/NClienteTabForm.jsp'" type="button" value="Agregar" name="Submit22"> 
      <%}%>
      </div></td>
 </tr>
 </tbody>
 </table>
 
<div id="idTabla" style="display: inline">
<table width="100%" align="center" bgcolor="#fffdd6" border="0">
  <tbody>
  <tr>
    <td>
      <div id="res">
      <br>
      <table class="consultanormal" id="row" cellspacing="0" align="center">
        <thead>
        <tr>
          <th class="sortable" width="5%">Ver&nbsp;&nbsp;</th>
          <th class="sortable" width="10%"><a style="color: white" href="#">Codigo</a></th>
          <th class="sortable" width="30%"><a style="color: white" href="#">Descripcion</a></th>
          <th class="sortable" width="10%"><a style="color: white" href="#">Tipo</a></th>
          <th class="sortable" width="10%"><a style="color: white" href="#">Responsable</a></th>
          <th class="sortable" width="10%"><a style="color: white" href="#">Area</a></th>
          <th class="sortable" width="20%"><a style="color: white" href="#">Seccion</a></th>
         </tr>
         </thead>
        <tbody>       
        <tr class="">
          <td>
              <div align="center"><img title="Modificar" style="cursor: hand" 
              onclick="navigate('verProceso.do?metodo=verproceso&proceso=0')" height=15 
              src="/WebLicencias/imagenes/boton_modificar.gif" width=15 align=middle 
              border=0></div>
              <div align="center"><img title="Detalle" style="cursor: hand" 
              onclick="navigate('verProceso.do?metodo=verdetalle&proceso=0')" height=15 
              src="/WebLicencias/imagenes/boton_modificar.gif" width=15 align=middle 
              border=0></div>
              <div align="center"><img title="Prcedimientos" style="cursor: hand" 
              onclick="navigate('verCliente.do?metodo=procedimientos&cliente=0')" height=15 
              src="/WebLicencias/imagenes/boton_modificar.gif" width=15 align=middle 
              border=0> </div>
          </td>
          <td class="TextoTabla8"><div align="center">P0001</div></td>
          <td class="TextoTabla8"><div align="center">PROCESO UNO</div></td>
          <td class="TextoTabla8"><div align="center">ADMINISTRATIVO</div></td>
          <td class="TextoTabla8"><div align="center">UAN PEREZ</div></td>
          <td class="TextoTabla8"><div align="center">AREA UNO</div></td>
          <td class="TextoTabla8"><div align="center">SECCION A</div></td>
        </tr>
        <tr class="odd">
          <td><div align="center">&nbsp;</div></td>
          <td><div align="center">P0002</div></td>
          <td class="TextoTabla8"><div align="center">&nbsp;PROCESO DOS&nbsp;</div></td>
          <td class="TextoTabla8"><div align="center">&nbsp;GERENCIAL&nbsp;</div></td>
          <td class="TextoTabla8"><div align="center">&nbsp;LUIS ANTONIO&nbsp;</div></td>
          <td class="TextoTabla8"><div align="center">&nbsp;AREA UNO&nbsp;</div></td>
          <td class="TextoTabla8"><div align="center">&nbsp;SECCION B&nbsp;</div></td>
        </tr>        
        </tbody>
      </table>
      
      <br><br>
      </div></td></tr>
      </tbody>
      </table>
     </div>
 </form>
      
    <script language="javascript">
        highlightTableRows('row');
    </script>

</body>
</html>
